//
//  BaseTableViewCell.m
//  ShanDian
//
//  Created by 静静 on 15/8/4.
//  Copyright (c) 2015年 诺万科技. All rights reserved.
//

#import "BaseTableViewCell.h"

@implementation BaseTableViewCell

- (void)awakeFromNib
{
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
}

#pragma mark - public

+ (id)loadFromXib
{
    NSString *xibName = NSStringFromClass([self class]);
    NSArray *array = [[UINib nibWithNibName:xibName bundle:[NSBundle mainBundle]] instantiateWithOwner:self options:nil];
    if (array && [array count]) {
        return array[0];
    } else {
        return nil;
    }
}

@end
